,System.Object,System.Boolean)}
TrackingConfiguration.Id(Func, object?, bool) method¶
Defined in
Type: TrackingConfigurationCrissCross.WPF.UI.Configuration
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public TrackingConfiguration<T> Id(Func<T, string> idFunc, object? @namespace = null, bool includeType = true)
Summary: Identifiers the specified identifier function.
Parameters
| Name | Type | Description |
|---|---|---|
idFunc | Func | The provided function will be used to get an identifier for a target object in order to identify the data that belongs to it. |
namespace = null | object? | Serves to distinguish objects with the same ids that are used in different contexts. |
includeType = true | bool | If true, the name of the type will be included in the id. This prevents id clashes with different types. |
Returns: TrackingConfiguration